<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<!-- 2.新制作一个页面，要求：
       2.1 至少包含以下元素：3个DIV,标题，5个P标签，图片，列表 
       2.2 分别实现 id,类，标签三种方式查找以上元素 -->
	<div id="div1" class="divc1"> 
		div1 
		<h1>标题</h1>
	</div>
	<div id="div2" class="divc2"> 
	    div2 
		<p>段落1</p>
		<p>段落2</p>
		<p>段落3</p>
		<p>段落4</p>
		<p>段落5</p>
	</div>
	
	<div id="div3" class="divc3"> 
		div3 
		<ul>
			<li>1</li>
				<li>2</li>
				<li>3</li>
				<li>4</li>
				<li>5</li>
		</ul>
		<img src="./-39t2Q5-8fztZdT1kShs-hs.jpg"  width="300px" height="300px">
	</div>
	  
	</body>
	<script type="text/javascript">
				var divid1=document.getElementById('div1');
				console.log(divid1);
				var divid2=document.getElementById('div2');
				console.log(divid2);
				var divid3=document.getElementById('div3');
				console.log(divid3);
				var type1=document.getElementsByClassName('divc1');
				console.log(type1);
				var type2=document.getElementsByClassName('divc2');
				console.log(type2);
				var type3=document.getElementsByClassName('divc3');
				console.log(type3);
				var alldiv=document.getElementsByTagName('div');
				console.log(alldiv);

	</script>
</html>
